package tcc_minabot;

import java.io.IOException;

import javax.xml.parsers.ParserConfigurationException;

import org.xml.sax.SAXException;

import br.ucb.tcc.actions.InitUserInfo;
import br.ucb.tcc.aiml.AimlCommand;
import br.ucb.tcc.aiml.forms.Set;
import br.ucb.tcc.aiml.forms.Srai;
import br.ucb.tcc.aiml.forms.Think;
import br.ucb.tcc.helper.AimlHelper;

import com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException;
import com.sun.org.apache.xml.internal.security.c14n.InvalidCanonicalizerException;

public class XmlTeste {
	
	public static void main(String[] args) throws InvalidCanonicalizerException, CanonicalizationException, ParserConfigurationException, IOException, SAXException {
		
		
//		AimlCommand command = new AimlCommand();
//		
//		Think think = new Think();
//		
//		Set set = new Set("denis", "nome");
//		
//		think.add(set);
//		
//		Srai srai = new Srai("teste");
//		
//		command.add(think);
//		command.add(srai);
//		
//				
//		String xmlComplete = AimlHelper.toAiml(command);
//		String xmlNorm = AimlHelper.normalizeExpression(xmlComplete);
//		System.out.println(xmlComplete);
//		System.out.println(xmlNorm);
	}

}
